package com.hotel.product.service;

import com.hotel.common.vo.R;
import com.hotel.user.entity.Product;
import com.hotel.user.entity.Purchase;
import com.baomidou.mybatisplus.extension.service.IService;
import com.hotel.user.entity.ResponseDTO;

import javax.servlet.http.HttpServletRequest;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author KK
 * @since 2024-06-18
 */
public interface PurchaseService extends IService<Purchase> {
    ResponseDTO<String> purchaseProduct(Purchase purchase, HttpServletRequest request);
}
